package com.vs.model;

import org.apache.struts.validator.ValidatorForm;

public class LaborTypeForm extends ValidatorForm{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer laborTypeId;
	private String laborType;
	private String action;
	
	private String addedBy;
	private String modifiedBy;
	
	public String getAddedBy() {
		return addedBy;
	}

	public void setAddedBy(String addedBy) {
		this.addedBy = addedBy;
	}

	public String getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public Integer getLaborTypeId() {
		return laborTypeId;
	}
	public void setLaborTypeId(Integer laborTypeId) {
		this.laborTypeId = laborTypeId;
	}
	public String getLaborType() {
		return laborType;
	}
	public void setLaborType(String laborType) {
		this.laborType = laborType;
	}
	@Override
	public String toString() {
		return "LaborTypeForm [laborTypeId=" + laborTypeId + ", laborType="
				+ laborType + ", action=" + action + "]";
	}

	@Override
	public boolean equals(Object obj) {
		if (obj instanceof LaborTypeForm) {
			LaborTypeForm o = (LaborTypeForm) obj;
			if (o.laborTypeId.equals(this.laborTypeId))
				return true;
		}
		return false;
	}
	
}
